#pragma once
#include "Shape.h"
class Tesseract : public Shape
{
public:
	Tesseract(vec4 _pos, Rotate4 _rot, float _sideLength);
	~Tesseract();

	bool intersect(Intersection &_int);

	vec4 getColor(Intersection &_int);

	vec4 getMaxBound();
	vec4 getMinBound();
	vec4 getCenter();

	bool isBounded(){ return true; }

private:
	vec4 extents[2];			//the min and max bounds of the tesseract in OBJECT space
	vec4 minBound, maxBound;	//the min and max bounds of the tesseract in WORLD space
};

